Analysts say Dhaka will have to be prudent as it tries to secure Chinese investment to boost its economy while managing India’s security concerns.