I accidentally uninstalled Amd catalyst on my computer and now my mouse and keyboard won't work so I can't do anything on my c

Solution
Would be strange if your graphics software messed up your peripherals, I would try booting into safe mode and make sure you get all the necessary drivers.