"Warm congratulations to my friend @BarackObama," Cameron wrote on his Twitter account. "Look forward to continuing to work together."