Rinse the rice in a few changes of cold water until the water runs mostly clear, then drain well.
Put the rice, coconut milk, water, salt, sugar and pandan or bay leaf in a medium saucepan and stir once.
Bring to a gentle boil over medium heat, then reduce the heat to the lowest setting and cover with a tight-fitting lid.
Cook for 15 minutes without lifting the lid, then remove from the heat and rest, still covered, for 10 minutes.
Remove the pandan or bay leaf and fluff the rice gently with a fork.
Serve warm, scattered with toasted coconut flakes and spring onions if you like.