I've seen a few generators and gas powered welders damaged because someone decided they needed to be cleaned. Before getting much water, especially high pressure water, around the generator I would wrap that thing in enough plastic so I knew it would stay dry.
My compartment is lined with a foam and vinyl sound deadening. Not sure how well that would stand up to high pressure and a lot of strong chemicals either.
What kind of mess do you have? If it's really bad you might have some leaks that need attention.