Heat oil in a wide pan over low heat. Roast the peanuts stirring them constantly till they turn light brownish in colour.
Remove the roasted peanuts and keep on the side.
Roast the cashew nuts. Remove and keep on the side.
Add more oil if required.
Add mustard seeds, red chillis, chana dal, urad dal and saute till the lentils turn light brown in colour.
Add the curry leaves, ginger paste and chopped green chilli. Saute for a few minutes.
Add asafoetida and turmeric powder.
Add water. Allow the dals and spices to cook till the water evaporates. This makes the lentils a bit soft. Can omit this step if you want to.
Add the rice.
Add salt, peanuts and cashew nuts. Mix thoroughly but gently. Allow the rice to become hot.
Take the pan off the heat once the rice becomes hot.
Add coriander and lemon juice.
Serve immediately with some fried rice papad, yogurt or pickle on the side. Or pack it in suitable container to enjoy as lunch or travel food.