Try attaching an external keyboard to the laptop when it is turned off, and then turn it on. If the external keyboard works, it should let you get past your log on. Then use the following...
Try this...
1. Uninstall the keyboard driver.
2. Reboot the computer (without reinstalling the driver).
3. When it restarts, it should reinstall the driver on its own.