Does not matter if its an original keyboard or not, just make sure you plug it into the same port as the old one.
If you got a USB keybaord, make sure you are using at least Win95B which has USB support. Most USB keyboards also come with a USB to PS2 adapter you can use.