In a big pot, heat oil on medium heat. Then, add rice and onions. Stir until the translucent color of rice starts to turn white. Add garlic, ginger, and pilau masala. Keep stiring until the garlic is cooked. In a separate bowl, mix the coconut milk with ½ cup of chicken broth. Add the coconut mixture to the rice. Cover the pot and turn heat to the lowest settings. Adding chicken broth ½ cup at a time to the rice until it is cooked.