Republicans criticize the costs at a time of expanding federal deficits and Democrats have had trouble winning over party moderates concerned by the price tag and the cost for lower- and middle-income consumers .