I often eat while computing for work and personal reasons. Since eating while using a keyboard is a fact of how I live and work, I use a keyboard condom when eating or drinking beverages (especially coffee).
Except for my smart phone, I don't really compute in the outdoors.
My go-to provider for keyboard covers is http://kbcovers.com (no relation except as a satisfied customer).
As the saying goes, an ounce of prevention is worth a pound of cure.