The phrase "it looks like rain" is a common expression in English. It has a simple meaning: it means that the sky looks like it will begin raining soon. The sky may be dark and grey with a lot of clouds.
So then, the sentence "You had better take your umbrella; it looks like rain" simply means that the sky looks like it will begin raining soon, so you should take an umbrella with you when you go outside, so that you have it if it rains.
I hope this helps.