like biggles said,
i would only add that a visual of the pilot should show a blue pilot flame about 1/4" to 1/2" enveloping the pilot tip. If the pilot flame is short and barely touching the tip (this is usually accompanied by a dirty looking yellow flame instead of a blue flame) than the pilot orifice is dirty and needs to be cleaned.
I always disconnect the pilot tube from the valve and blow 100psi to 200psi of co2 thru the tube to clear it. An air compressor is good too.
If none of these are available to you you must remove the pilot assembly from the burners and remove the the pilot orifice from the pilot body and clean out the tiny orifice the gas passes thru.
I use a very thin needle or very small drill bit. From inside the pilot orifice gently twist the the needle or drill in the tiny opening and blow thru it after a few twists. The blockage will usually clear easily.
Reinstall the pilot assembly and relight the pilot with a NEW THERMOCOUPLE!
if the pilot still wont stay lit, than the gas valve is bad.
Seems like a lot but it is easy. This is the method to use if you have no specialized tools for hvac service.