India will ban e-commerce companies such as Amazon.com and Walmart-owned Flipkart Group from selling products from companies in which they have an equity interest.