How do I clean this gunk!

So I pulled the motor and tranny out from the car, and this stuff is just covered in gunk! How do I clean this stuff off? Thanks I plan on reprinting the tranny and motor so I wanna be able to take this stuff off and make it nice and clean