I wash the engine bay just like I wash the outside. Soap and spray with water. Never had an issue unless there was one already there. Ie: Faulty plug wires. Which is a good thing to find out
I also dry the engine and spray it down with no touch tire dressing to make the hoses / plastics shine nice. You could eat off my engine and thats the way I like it.