Giving charity on behalf of a deceased child is one of the most beautiful acts of continuing love. The Prophet confirmed charity reaches the deceased. Every act of goodness you do in their name benefits them.