Sounds like the game engine was determined to troll you. A GK injured is rare (only happened to me twice in 8 years) but a second player injured in the same game (and the GK again at that) is unheard of. Then 2 sending offs. That is super unlucky.
Here's a tip. If your GK is injured, do not replace him. Leave him on the pitch. I had an opponent once who did just that when his GK was injured inside 10 minutes. The GK scored an 8 rating and I lost the game.