Torrential rains triggered flash floods in the Peruvian capital Lima, stranding thousands of people and forcing rescuers to find ways to evacuate them across roads turned to raging rivers.