The famous Romney 47% was based on an analysis of net federal income taxes, which is completely irrelevant to whether they've paid into California's general fund taxes (which include, primarily, California's state income tax and California's sales and use taxes.)
And even less relevant to whether they've generally established roots in the State such that it is in the State's interest to serve them as part of its constituency.
Or if they’re being paid in cash under the table, as sometimes happens for both undocumented immigrants and for immigrants with visas or permanent residents, that’s 100% the responsibility of the employer.
Indeed, undocumented workers often end up paying more tax than they would if they had authentic papers, because they’re less likely to file for tax rebates at the end of the year.
They also pay sales tax, if they’re paying rent are ultimately contributing to property taxes paid by the landlord, etc. etc.
If you want to see some data about this w/r/t state and local taxes, here’s a recent summary: http://www.itep.org/immigration/
Documented workers who earn below a certain level have the entirety of their income tax deductions returned to them by the IRS. This happened during my first few years of working.
Workers who earn an exceptionally low amount, and have additional dependents or are paying college tuition, can earn additional tax credits, such as EIC or Hope.
In this way, many working households benefit from welfare and have someone working and/or going to school.