The easiest way would be to wire a relay to the lighting circuit so when the lighting circuit is energized, the relay would be triggered and light the fogs and back-ups. This would also light the fogs and back-ups if you are driving down the road and turn on all the interior lights, or if you open the doors. To avoid that problem, you'd just have to study the wire diagrams on your CD and see if there's a solution. If the keyless entry system has a trigger for the interior lights that is separate from the door and headlight switch triggers, then you could wire a relay into that trigger followed by a diode, then the fogs and back-ups would come on only when you use the fob.
My guess is that a factory-installed system will have one central module that receives inputs from door switches, the headlight switch and the keyfob and has only one output to trigger the interior lights, so my solution would not be possible. Then you'd have to do some more complicated wiring with relays connected to the door switch and headlight switch circuits that would interrupt the power to the fog/back-up light relay if the interior lighting was energized through those means.
It's hard to explain this without drawing a picture. Hope this helps.