Catalyzes the phosphorylation of fructose 6-phosphate and D-glucose to fructose 1,6-bisphosphate and D-glucose 6-phosphate, respectively, using ADP as the phosphate donor. ADP + D-glucose = AMP + D-glucose 6-phosphate + H(+) ADP + beta-D-fructose 6-phosphate = AMP + beta-D-fructose 1,6-bisphosphate + H(+) Binds 1 Mg(2+) ion per subunit. Optimum pH is 6.5. Carbohydrate degradation; glycolysis. Monomer. Belongs to the carbohydrate kinase PfkC family.