An energy firm has teamed up with a Caerphilly Olympic gold medallist to support Welsh communities.