You only need one resistor per led. Start with 1k ohm and work down from there until you get the correct brightness. To get them to work with direction, just wire them the same way that the bulb was. Usually the LED's from christmas lights are a bit large for HO scale headlights but if you can get it to fit and it looks good, that's all that matters. Just know the LHS will probably have something much better for very cheap.
Springfield PA
If the LEDs are white and they are going into any steamers or early diesels, you will want to yellow the ends of the LEDs slightly to make them look more prototypical. Otherwise, they will look too stark.
Tom
https://tstage9.wixsite.com/nyc-modeling
Time...It marches on...without ever turning around to see if anyone is even keeping in step.
Most of the Christmas LEDs I've seen are called 'inverted cone' types that radiate their light to the sides as well as straight ahead, so you'll need to encase them with a couple layers of black shrink wrap or they'll light up the entire cab like the original Athearn bulbs.
cedarwoodronDo I use 2 resistors, one for each light?
How should they be wired so that BOTH ends of the hood are lit whether the loco is moving forward or in reverse