Vitamin d and b12 while breastfeeding ? ?

Is it okay to use vitamin d drops 5000 iu and 1000mcg of b12 while breastfeeding my 1 year old? I only breastfeed about 2-3 times a day when getting him to sleep and naps.