Original: Hera was angry with Zeus, her husband, because he had impregnated Leto.
Simplified: Leto had to find a place where she could give birth to the two. This was because of a curse set by Hera, Zeus' wife, because she was angry with Zeus.