Josh Bowman and Adam Pally are starring in two new shows, for ABC and FOX respectively, in which they go back to the past looking for adventure