OS X does not recognize keyboard and trackpad while Boot Camp Windows still can
You could try the SMC reset. Option-Command (⌘)-P-R 

http://support.apple.com/kb/PH14222

Also try start in safe mode, that does some repairs. (hold Shift)

Try using external keyboard.

Finlay use the OSX restore function to restore your OSX.  (Command(⌘)-R)

Maybe lesson learned and buy a cheep keyboard cover in the future.