Physically work in a different state than my w2

Hello, I live in Massachusetts and pay Massachusetts state tax. I physically work in New Hampshire but my pay stub and w2 have an address in Maine. Do I put that I made income in the state of Maine and get charged Maine income tax or do I put $0 when asked about source income in Maine?