Two HC-05 modules won't stay paired

Problem with the PC, Arduino or the connection. Make sure you are using a data USB cable, not a charging USB cable.

Disconnect the Arduino from everything, reconnect the naked Arduino to the PC with a data USB cable and try uploading the Blink example.