Keyboards pick up loads of dirt and dust. If you take a closer look at your keyboard, you would be very amazed to see the dirt and garbage it has caught below the keys. The recommendation for keeping your keyboard is cleaning it with can compressed air or vacuum cleaning it.
The best way for using can compressed air is turning upside down your keyboard and then shooting your keyboard with it at a tilted angle. Doing this would remove dirt and debris from your keyboard. If you get in to practice for cleaning your keyboard in such a manner then it is less likely to come up with sticking and dirty keys. Vacuum cleaner can work with out the keyboard being turned upside down. The vacuum cleaner has the capacity to suck out all the debris.