Dear muwa,
First thing to do is to measure the voltage needed to light up one of the leds, using a dc power source.
Normally the leds light up between 0,7 and 2,8 Volts.
Measure the intensity consumed when the led light is OK for your application.
Normally I use 10 mA.
Once you have all this data, just use a resistor for each led to limit the current to 10 mA and for the voltage drop required.
Connect them in parallel.
Another thing you must use is a voltage stabilizer between the 9 Volts battery and the current limiting resistors, because the battery will be loosing voltage.
Use a 7805, it will give you 5V stabilized. In the datasheet you will find info on how to connect the 7805, and how to include filtering caps. Calculate the total intensity 25·10 mA=250 mA. Ensure that the stabilizer can handle this, normally a 7805 can handle 1000 mA, so you will be at 25% usage, it is OK.
Use a diode for inverse polarity protection between the battery and the stabilizer.
Remember that the leds have polarity.
Perform this calc, R=(5 Volts-Voltage drop required)/ 10 mA; where voltage drop required is the voltage at which
the led lights up and is consuming 10 mA for example.
Best regards,
Jorge
www.solartroning.org