Check the beans and remove tiny pebbles and blackened or broken grains. Soak the remaining beans in water for at least 2 hours. Drain with a colander and steam for 30 minutes.
Meanwhile, combine the sugar, water and knotted pandan leaves in a large saucepan and bring to a boil. Stir to dissolve the sugar. Turn off the heat and discard the pandan leaves.