Agarwal century helps India build platform