Be active in the godchild’s life; religious birthday gifts such as books, rosaries, saints’ medals, etc. Let the child know you pray for them. Give positive counsel. Offer to bring the child along to Mass, Confession with you. Be present and available to that child.
However, the parents are the authority over that child and you must never usurp their authority ultimately.