There might be several reasons to that:
1) Bad windows install, then you will need to reinstall your windows while noth kb and mouse are plugged in.
2) IRQ address problems: the 2 devices interfere with each other - then you might wanna check your bios.
3)Faulty Motherboard 0 then you ight wanna get a new one!
But try reinstalling windows first and report.