Ответ:

It started to rain when they were cycling to school.