To make it in a rice cooker, add water and rice to the pot of the cooker. Make a tadka over the flame and pour it over the rice. Then press the rice button and cook them.