Typically, baking times will not double when baking a recipe that has been doubled. What may happen is that the oven may be hotter, which could speed up the baking process. If you are concerned about the increased time, then it is best to check the doneness of the cake or bread after an initial 15-20 minutes and then once again after 30-40 minutes.