Given that the 74LS08 shown in your figure has a max Vcc of 7V, you might not want to throw 12V at it.See the attachment.
You can use any CMOS gate (AND, OR, NAND, NOR, INV, Buff).
Put a Pull up resistor on your signal output (1 KΩ) and feed this setup.
You need to find the right orientation of the Bi LED to get the correct colour.
Ramesh
Correction: the resistors are 650 Ohms !