Catalytic multistep conversion of biomass into chemicals