NTPC plans to invest Rs 50,000 crore by 2022