Turn off the computer. Unplug the keyboard when possible.
Dust the keyboard with a cloth or feather duster to remove loose dirt.
Spray the keyboard with a can of compressed air. Hold the can of air 6 inches away from the keyboard, and spray in back-and-forth strokes, going from one side of the keyboard to the other.
Moisten a cleaning cloth with rubbing alcohol. Make sure this is isopropyl, not ethyl, alcohol. Wipe the cloth over the keyboard, including between the keys. This will clean and kill bacteria.
Dip a cotton swab in rubbing alcohol. Rub the cotton swab between the keys of the keyboard. This will allow you to clean between keys more thoroughly.
Wipe once more with a cloth or duster to remove any loosened debris, then plug the keyboard back in and turn the computer on.
What to Wear With Sailor Pants