The government has launched an investigation into e-commerce platforms charging extra fees on cash-on-delivery (COD) orders.