If neither device is working here is what I would do. Borrow a USB mouse, unplug the PS2 mouse but leave the keyboard in. Boot to Windows. Use the USB mouse to get to Device Manager, scroll down to the keyboard, right click and delete it. Reboot and let Windows find it agaain and see if the keyboard now works. If it does then switch off, unplug the USB mouse, plug in the PS2 mouse, boot into Windows and type devmgmt.msc into the Run box to open Device Manager, scroll down using the keyboard and delete the PS2 mouse, reboot and see if the mouse now works.
I type too slowly, if you have a working USB setup then it is easy to delete each of the PS2 ones one at time and let Windows rebuild them. PS2 ports are not hot swappable so if you have plugged or unplugged them while the machine is booted up you could have damaged the ports.