You should be able to get Paint back by going to Control Panel>Add & Remove Programs>Add or Remove Window Components, then highlight Accessories and Utilities and click on the Details button, then highlight Accessories and click on the Details button once again. Scroll down to the entry for Paint. If it's checked, uncheck it, click the OK buttons until it tells you Paint is removed, then repeat the process, checking the Paint entry to reinstall it.
Wordpad is a little more difficult. I have NOT tried this but by all accounts, it should work.
First, the sysoc.inf file must be edited so Wordpad will be listed in Add/Remove programs. To do that, open the SYSOC.INF file in the Windows\INF sub-directory (e.g. C:\Windows\INF). Scroll down to the line, "MSWordPad=ocgen.dll,OcEntry,wordpad.inf,HIDE,7" and remove the word "HIDE," leaving both commas intact.
Wordpad should then appear on the Add/Remove Programs list (might have to reboot for change to take effect) and when you click on it, hopefully one of the options you'll be given is to repair it.
If that doesn't work, try doing a search for "wordpad.inf" and, when found, right click on it and choose "install."