http://www.businessinsider.com/how-do-microwaves-work-2014-6
"The positively charged end of the water molecule tries to align itself with the microwave's electric field while the negatively charged end points the other way. But because the field reverses 2.5 billion times a second, Mickey's ears and face are being twisted back and forth rapidly."
(The molecule as illustrated in the referenced text resembles the rounded head and ears of Mickey Mouse)
What you get isn't so much a LONGER wavelength compared to the energy being absorbed, so much as a SHORTER wavelength (infrared) produced by the action described above (the dipoles of the water molecules twisting rapidly back and forth). A microwave photon may do this many times, being reflected and re-entering the water or food being heated until it is heated to the desired temperature. The interior of the microwave oven is a tuned cavity. Any foodstuffs heated in there detune the cavity, and if it is working properly and the rest of the interior of the microwave oven is relatively clean, it is quite efficient (60-70%). Some energy loss is also dissipated in the magnetron in the form of heat, which is once again, a shorter wavelength than the microwaves that do the actual cooking..