Flash flooding has killed more than 280 people in India and Pakistan over the last 24 hours, according to local officials.