looks like its a Windows 8.1 issue disabling the ps2 support process when detecting a usb device but the keyboard will still work in bios.
http://answers.microsoft.com/en-us/windows/forum/windows_8-hardware/bug-windows-8-ps2-keyboard-not-detected-after/902dc219-6f43-479a-b129-94d4e3985947
People have been going to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt and editing the Startvalue and set it to a hex or decimal value from 0 of 1 so the ps2 service will then should continue to run after rebooting.
But this will be a bit hard if you cannot use the keyboard to even edit, so maybe what i suggest doing will work.
Try logging into windows just with the mouse, either through with no password or Safemode, if you can, just need to get in somehow without keyboard. Open calculator using mouse, click on decimal 1, hopefully you can right click the number and copy. Go to that key string in the registry - edit the 0 value and paste to replace value with the number 1 you copied from calculator - or anything else that has a number 1 you can copy for that matter.
This all depending if you can log in of course, otherwise really no other choice i know of but to use a usb adapter or usb keyboard.