All workers, including undocumented workers, are required to report their income to the federal Internal Revenue Service (IRS) and to the state Franchise Tax Board.  Even if you are paid in cash, you are required to report your income.
If you do not have a Social Security Number to report your taxes, and if you cannot get one because you are undocumented, you can use an Individual Taxpayer Identification Number (ITIN) to properly report your income. The Internal Revenue Service can issue an ITIN to any individual who earns income in the United States but is not eligible to receive a Social Security Number.