you need silicone grease, it is actually waterproof and non-melting. It stays where you put it. Ideal for brake purpose.
Be sure to service the brake correctly, clean the pad carrier with a wire wheel brush and make sure the anti rattle clips are good n tight, the pads should slide very easily in the carrier under finger pressure.
lube with an extremely thin layer of silicone grease where the ears of the pads ride - if you are putting some on the backs of the pads, then use copper or moly antisieze in the tinest amount only - brake pads get blazingly hot when working and using a generic grease will cause it to become oil and run into the friction material essentially ruining your brakes and causing a deathly crash.
clean the slider bores thoroughly and pins too - here you also use a very thin coat of silicone grease. Dont try to shove more here - the pins may go hydraulic and your caliper may bind while driving - cooking the brakes.