There is nothing unhealthy about your breast milk for your 2 yr. Old.
I would recommend that you offer it in a cup though, as there is no reason to encourage your toddler to believe he should be treated the same as a newborn. Some regression in behavior is common when a new baby arrives, but it should not be encouraged. Instead shower your 2 yr. Old with praise for being the very important "big brother.".