The lessons that Cape Town has learnt through this water crisis is reaching world leaders in Brazil.