You can wash a keyboard and mouse in a dishwasher. Lots of site out there describing that. Seen colleagues doing after a coffee spill. You just have to make sure the heat is off, and give them days to dry off.
Laptops are problematic because of batteries inside that are difficult to remove, and that we don't want to be deprived of our laptops for several days.