I hope you have a PS2 keyboard to try. But try this first.
Did you reset the BIOS by removing the battery and shorting the CMOS pins? Usually pins 1,2,3. 1-2 with a jumper is normal and 2-3 shorted is reset. Some Motherboard require removal of the battery and the "hard reset" with the jumper. Otherwise, just removing the battery will require waiting hours or days.
Make sure you first remove the AC line cord from the computer.