Marinate chicken with a dash of pepper, salt, sugar and light soy sauce. Set aside.
Steam black eyed beans for 10-15 minutes until just cooked and tender but not mushy. Remove and set aside.
Heat oil in a saucepan. Fry the onions and garlic until fragrant. Add ginger and chicken. Stir fry well.
Add cinnamon stick, star anise and cloves and stir in rice and turmeric powder. Fry well for one to two minutes. Add pandan leaf, carrots, beans, water and seasoning. Bring to a boil, then cook until almost all the water or liquid has been absorbed.
Cover the saucepan and lower the heat. Continue to cook until rice has puffed up and is done. Fluff up the rice and serve immediately.