Bottom layer: Blend corn and coconut milk until smooth, filter. Mix with sugar, corn starch and vanilla until smooth. Pour ¾ mixture into small greased heat-proof cups (a special mould is actually used for these). Steam for about 10 minutes.
Top layer: Heat coconut milk with pandan leaves on low hear until boiling. In a bowl, mix all the ingredients well and sieve. Pour mixture over the bottom layer to the top of the cups. Continue steaming for 20 minutes until well cooked. Let it cool before removing from pan. Ready to serve.
For decoration, corn may be added on top of the cake five minutes before it is well cooked.