The ruling Hindu party in India has secured support from some Muslims, even though the party has been hostile to the religion.