The New Jersey governor has declared a state of emergency as some roads are blocked and subways delayed.