Demi Lovato has revealed she will perform at the forthcoming Grammy Awards - her first gig since her overdose in 2018.