The coloring problem for classes with two small obstructions