As Spoiler suggested, try another keyboard.
If that doesn't work, I would unplug the computer, open it up, and then remove the CMOS Battery (on the motherboard) for about 20 minutes and then put it back in.
If it still doesn't work, think about replacing it.