Hi
joshandaye ,
The keyboard and the touch pad would have frozed because of the sytem being hung up.
In this case , a restart suffices and after you do that , it's best to have a scan of the hard disk for errors.
You can do this via the scandisk option from your computer, once you do a full scan, notice the difference between the system's performance before and after scan , you should find a significan difference and your system would not hung up usually.
Hope this works for you, in case you have any queries, let me know.