Water has a stronger force of attraction between its particles than methane.
To justify this we have to remember that temperature is a measure of the kinetic energy of the particles (atoms and molecules) in a given system. As temperature increase the kinetic energy increases as well; now larger molecules will have more electron and nucleis that attract with each other, then they will need more kinetic energy (temperature) to boil.