What keyboard was it? If it was a mechnical keyboard it will be tricky. If it any old regular keyboard you can remove the screws, open it up, and take out the guts and clean and scrub it with soap and water. i do it all the time. Just for the layers on the inside that make the keyboard work just use a damp cloth to clean it.