This subject is completely lawful. You should certainly study B.Com and score good marks. Those who say that studying B.Com is haram or unlawful are themselves saying something unlawful. You should not be concerned about people who speak like this and should devote yourself entirely to studies.