Sounds like the motor circuit is OK, but there is something wrong with the GPIOs. Possibly D4 is damaged. Try again with a different GPIO instead of D4. Then see if you can yet both motors running. I don't have access to my code right now to check the pwm frequency.
I tried D2, still nothing.