Since the LEDs don't run on 12v, you need to put them in groups to try and get them as close to 12v as possible
I assume you are going to use RED LEDs, since they are the most cheapest and most eff, they run on approx 2.8v each, therefor - you would need 12/2.8 or 4 of them in series
This comes to approx 11.2v, so you need to "get rid of" approx .8v, actually a little more since most cars system can go as high as 14v
Now, we use good-old Ohms law to calculate the resistor
I=E/R or R=E/I
R(Resistance) = E(voltage) / I(Current)
We need to get rid of approx 1v, and you should always run the typical 5mm LED at 20ma; so the formula would be
R=1/.020
Or
R=50 Ohms
Since 50 ohm resistors might not be available, the next jump should be 52 ohms
You would wire up 4 of the LEDs in a group with one 52 ohm resistor, and connect up that group to your supply - measure the current with a DVM (Digital Volt Meter) on the Current setting and see if you have done your calculations correct, if the current is a little higher than 25ma, increase the resistor - if the current is lower than 20ma and you want more brightness in the LED, lower the value of the resistor
When you have one group of these done, repeat as many times as desired for more brightness
Since you are going to put it in an automobile application, you need to protect it againest "spikes"; although the system runs off the 12v battery - as the starter is turning over the engine and the commutators make/break, there can be as much as 10,000 Volts in your electrical system, and this high voltage could damage the LEDs should you have your foot on the break and start the car; so its best to put a protection device called a Zener Diode across the LED array BACKWARDS - and it will conduct and protect the array againest these surges; a good value would be 16-20v and about 1W
Test your project in stages, get one group working at the correct current and go forward, ALWAYS use a current meter to check the current, don't over drive your LEDs - if you want more light from them, use more LEDs - or brighter LEDs