India and Bangladesh have to maintain cordial relations and they cant afford to have hostile ties with each other, former Bangladesh High Commissioner to India, Tareq A Karim said on Monday.