If it's a desktop. Unplug the keyboard. Wait a minute or two and replug it in a different USB slot. Usb peripherals are very prone to static shock and it does funny things with them. (especially this time of year)
What your wanting it to do is reinstall the drivers, Should get a pop up in the lower right of the screen saying installing device software etc.