If India looses to Sri-Lanka and Bangladesh looses to Bermuda, then all the three teams, i.e. India, Bangladesh, Bermuda will have two points each. So whoever has more NRR will proceed to Super-Eight. Although, in theory, in above scenario, it is possible that Bangladesh has better NRR but it will be difficult to make it happen in reality.
However, above sceanrio is not the worst scenario. Worst scenario, also the most likely one, is that Bangladesh will beat Bermuda. In such an event India has to win against Sri-Lanka to proceed further.
Note: NRR is compared before winner of Head-To-Head clashes.