The siblings will write and star in a semi-autobiographical comedy about their lives as identical twins in Newark, New Jersey