In a pot on medium heat, bring the coconut milk and the sugar to a boil. Stir the mixture a few times. Turn the heat down to low and simmer for 40-45 minutes until the mixture is reduced by about half (once it starts to simmer, do not stir, otherwise, it can crystalize). Remove any foam from the top while it is simmering.