As floods become more severe, communities in Pakistan are turning to technology to protect themselves.