There could be any number of things. Does it have any batteries in it, does the keyboard itself require drivers/software, does it work on other machines, does that machine even accept any keyboard input (find a USB one and try).
It could also be the keyboard is just physically bust.