I can't use my mouse or my key board. Is booting in safe mode possible?
When do they stop working? Can you hit it to get to the BIOS menu and navigate in there? You can try to reset the BIOS (unplug the PC, take out the CMOS battery or move the "reset" jumper on the motherboard), that fixes USB issues quite often in my experience. Tried several ports?