Make sure you're using the USB ports on the BACK of the computer, near the top of the tower. Plug the keyboard into the USB slot closest to the edge of the case, and the mouse just to the right.
Hopefully that'll care of the problem. Let me know if it doesn't.