Two days ago I stuck it in the top rack, regular hot wash (not heated drying) along with the rest of the dishes. It came out like new, but dripping wet. I let it air dry for two days, plugged it in, held my breath, and started typing. I have myself a fully-functioning, sparkling-clean keyboard!
Did you know that your keyboard probably has more germs than your toilet seat? So says this article, and many other articles like it. If you trying washing your keyboard, let me know how it works out for you.