Indian authorities have contained a Nipah virus outbreak after confirming two cases in eastern West Bengal state.