1st, make sure the keyboard got power. is there any light at the keyboard
you should check the keyboard pin ( i don't sure what the right name,but the pin where you plug the keyboard to the back of your computer ) it could be broke or etc.
(if you don't use wireless keyboard)