Heavy rains threaten; 18 districts on high alert