If you do good to impress others or because you want to be seen doing good, then you already have your reward. But if you do good out of love then God will reward you. That's based on the principle of God not rewarding people who give only to be seen giving.