MS Dhoni, India's captain, has been banned for two ODIs because India maintained slow over-rate during the second match against Sri Lanka in Nagpur.