PM Modi to attend 14th BRICS summit