Both on USB ports I presume?
Try turning off machine, remove both items and turn on PC. Then attach one of them - say the mouse. See if it is recognised.
Right click my computer
then hardware and then device manager. Are there any yellow marks there?
I'm assuming this is XP; please give more details of your hardware.