Indian PM: 'Nobody wants war' after terror attack